package xyz.bali16.module.article.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.article.entity.Like;
import xyz.bali16.module.article.model.like.LikeAddParam;
import xyz.bali16.module.article.model.like.LikePageParam;


public interface LikeService extends IService<Like> {

	IPage<Like> getPage(LikePageParam param);
	void addLike(LikeAddParam param) throws Exception;

	void delete(String likeId) throws Exception;

	 boolean isExist(String targetId);
}
